package com.yz.food.dao;

import com.yz.food.pojo.Recipes;

import java.util.List;

public interface RecipesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Recipes record);

    int insertSelective(Recipes record);

    Recipes selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Recipes record);

    int updateByPrimaryKey(Recipes record);

    List<Recipes> getRandom();

    List<Recipes> getAll();
}